home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-08-15 | 1.4 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="2"
- "UIPATH"="Appearance\Desktop\Icons"
- "NAME"="Visible Icons #3"
- "LANGUAGE"="VBScript"
- "VERSION"="1.03"
- "TEXT 1"="Internet Explorer History"
- "TEXT 2"="Scheduled Tasks"
- "DESCRIPTION 1"="To show an item on the desktop, activate it. To hide it, deactivate it."
- "DESCRIPTION 2"="It might be necessary to activate the desktop and pressing the F5 key in order to see the changes."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
- "COMMENT 2"="This ain't VERLAUF!"
-
-
- sPath="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\"
- sV1="{FF393560-C2A7-11CF-BFF4-444553540000}" 'Verlauf
- sV2="{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" 'Scheduled Tasks
-
- Sub Plugin_Initialize
- if RegPathExists(sPath & sV1) then SetUIElement 1,true
- if RegPathExists(sPath & sV2) then SetUIElement 2,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub WriteIt(UIELM,VAL)
- b=GetUIElement(UIELM)
- if b=true then
- Call RegWriteValue(sPath & VAL & "\@","",1)
- else
- if RegPathExists(sPath & VAL) then
- Call RegDeletePath(sPath & VAL)
- end if
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- Call WriteIt(1,sV1)
- Call WriteIt(2,sV2)
- 'Call WriteIt(3,sV3)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-